package com.gf.snoopy.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gf.snoopy.domain.SubProject;
import com.gf.snoopy.domain.Template;

public interface TemplateMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Template record);

    int insertSelective(Template record);

    Template selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Template record);

    int updateByPrimaryKey(Template record);
    
    List<Template> queryByCondition(Template record);
    
    List<Template> queryByType(@Param("types")List<Integer> types);
}